package net.chenlin.dp.modules.business.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 终端计量的电能数据表
 * @author ZhouChenglin<yczclcn@163.com>
 */
public class GenTerminalElectricEnergyDataEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键id
	 */
	private Long id;
	
	/**
	 * 终端ID
	 */
	private String terminalId;
	
	/**
	 * 发送序列号
	 */
	private String sendSerialNumber;
	
	/**
	 * 计量开始时间（精确到秒）
	 */
	private Date measurementStartTime;
	
	/**
	 * 计量结束时间（精确到秒）
	 */
	private Date measurementEndTime;
	
	/**
	 * 时序号（根据计量开始和结束时间计算得出）
	 */
	private Double sequenceNumber;
	
	/**
	 * 该计量时段中的平均电流值（A）
	 */
	private Double averageCurrentValue;
	
	/**
	 * 该计量时段中的平均电压值（V）
	 */
	private Double averageVoltageValue;
	
	/**
	 * 该计量时段的平均功率值（W）
	 */
	private Double averagePowerValue;
	
	/**
	 * 该计量时段的平均功率因数
	 */
	private Double averagePowerFactor;
	
	/**
	 * 该计量时段的无功功率（W）
	 */
	private Double reactivePower;
	
	/**
	 * 该计量时段的合计电量（KWH）
	 */
	private Double totalElectricity;
	
	/**
	 * 创建时间
	 */
	private Date creatTime;
	
	/**
	 * 修改时间
	 */
	private Date updateTime;
	
	/**
	 * 创建人id
	 */
	private Long creatId;
	
	/**
	 * 修改人id
	 */
	private Long updateId;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 删除标识
	 */
	private Integer deleteFlag;
	
    /**
     * GenTerminalElectricEnergyDataEntity constructor
     */
	public GenTerminalElectricEnergyDataEntity() {
		super();
	}

    /**
     * setter for id
     * @param id
     */
	public void setId(Long id) {
		this.id = id;
	}

    /**
     * getter for id
     */
	public Long getId() {
		return id;
	}

    /**
     * setter for terminalId
     * @param terminalId
     */
	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

    /**
     * getter for terminalId
     */
	public String getTerminalId() {
		return terminalId;
	}

    /**
     * setter for sendSerialNumber
     * @param sendSerialNumber
     */
	public void setSendSerialNumber(String sendSerialNumber) {
		this.sendSerialNumber = sendSerialNumber;
	}

    /**
     * getter for sendSerialNumber
     */
	public String getSendSerialNumber() {
		return sendSerialNumber;
	}

    /**
     * setter for measurementStartTime
     * @param measurementStartTime
     */
	public void setMeasurementStartTime(Date measurementStartTime) {
		this.measurementStartTime = measurementStartTime;
	}

    /**
     * getter for measurementStartTime
     */
	public Date getMeasurementStartTime() {
		return measurementStartTime;
	}

    /**
     * setter for measurementEndTime
     * @param measurementEndTime
     */
	public void setMeasurementEndTime(Date measurementEndTime) {
		this.measurementEndTime = measurementEndTime;
	}

    /**
     * getter for measurementEndTime
     */
	public Date getMeasurementEndTime() {
		return measurementEndTime;
	}

    /**
     * setter for sequenceNumber
     * @param sequenceNumber
     */
	public void setSequenceNumber(Double sequenceNumber) {
		this.sequenceNumber = sequenceNumber;
	}

    /**
     * getter for sequenceNumber
     */
	public Double getSequenceNumber() {
		return sequenceNumber;
	}

    /**
     * setter for averageCurrentValue
     * @param averageCurrentValue
     */
	public void setAverageCurrentValue(Double averageCurrentValue) {
		this.averageCurrentValue = averageCurrentValue;
	}

    /**
     * getter for averageCurrentValue
     */
	public Double getAverageCurrentValue() {
		return averageCurrentValue;
	}

    /**
     * setter for averageVoltageValue
     * @param averageVoltageValue
     */
	public void setAverageVoltageValue(Double averageVoltageValue) {
		this.averageVoltageValue = averageVoltageValue;
	}

    /**
     * getter for averageVoltageValue
     */
	public Double getAverageVoltageValue() {
		return averageVoltageValue;
	}

    /**
     * setter for averagePowerValue
     * @param averagePowerValue
     */
	public void setAveragePowerValue(Double averagePowerValue) {
		this.averagePowerValue = averagePowerValue;
	}

    /**
     * getter for averagePowerValue
     */
	public Double getAveragePowerValue() {
		return averagePowerValue;
	}

    /**
     * setter for averagePowerFactor
     * @param averagePowerFactor
     */
	public void setAveragePowerFactor(Double averagePowerFactor) {
		this.averagePowerFactor = averagePowerFactor;
	}

    /**
     * getter for averagePowerFactor
     */
	public Double getAveragePowerFactor() {
		return averagePowerFactor;
	}

    /**
     * setter for reactivePower
     * @param reactivePower
     */
	public void setReactivePower(Double reactivePower) {
		this.reactivePower = reactivePower;
	}

    /**
     * getter for reactivePower
     */
	public Double getReactivePower() {
		return reactivePower;
	}

    /**
     * setter for totalElectricity
     * @param totalElectricity
     */
	public void setTotalElectricity(Double totalElectricity) {
		this.totalElectricity = totalElectricity;
	}

    /**
     * getter for totalElectricity
     */
	public Double getTotalElectricity() {
		return totalElectricity;
	}

    /**
     * setter for creatTime
     * @param creatTime
     */
	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

    /**
     * getter for creatTime
     */
	public Date getCreatTime() {
		return creatTime;
	}

    /**
     * setter for updateTime
     * @param updateTime
     */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

    /**
     * getter for updateTime
     */
	public Date getUpdateTime() {
		return updateTime;
	}

    /**
     * setter for creatId
     * @param creatId
     */
	public void setCreatId(Long creatId) {
		this.creatId = creatId;
	}

    /**
     * getter for creatId
     */
	public Long getCreatId() {
		return creatId;
	}

    /**
     * setter for updateId
     * @param updateId
     */
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}

    /**
     * getter for updateId
     */
	public Long getUpdateId() {
		return updateId;
	}

    /**
     * setter for remark
     * @param remark
     */
	public void setRemark(String remark) {
		this.remark = remark;
	}

    /**
     * getter for remark
     */
	public String getRemark() {
		return remark;
	}

    /**
     * setter for deleteFlag
     * @param deleteFlag
     */
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

    /**
     * getter for deleteFlag
     */
	public Integer getDeleteFlag() {
		return deleteFlag;
	}

    /**
     * GenTerminalElectricEnergyDataEntity.toString()
     */
    @Override
    public String toString() {
        return "GenTerminalElectricEnergyDataEntity{" +
               "id='" + id + '\'' +
               ", terminalId='" + terminalId + '\'' +
               ", sendSerialNumber='" + sendSerialNumber + '\'' +
               ", measurementStartTime='" + measurementStartTime + '\'' +
               ", measurementEndTime='" + measurementEndTime + '\'' +
               ", sequenceNumber='" + sequenceNumber + '\'' +
               ", averageCurrentValue='" + averageCurrentValue + '\'' +
               ", averageVoltageValue='" + averageVoltageValue + '\'' +
               ", averagePowerValue='" + averagePowerValue + '\'' +
               ", averagePowerFactor='" + averagePowerFactor + '\'' +
               ", reactivePower='" + reactivePower + '\'' +
               ", totalElectricity='" + totalElectricity + '\'' +
               ", creatTime='" + creatTime + '\'' +
               ", updateTime='" + updateTime + '\'' +
               ", creatId='" + creatId + '\'' +
               ", updateId='" + updateId + '\'' +
               ", remark='" + remark + '\'' +
               ", deleteFlag='" + deleteFlag + '\'' +
               '}';
    }

}
